export const jobTypeMap = {
  10: '全职',
  20: '兼职',
  30: '实习'
};
export function getJobTypeText(jobType) {
  return jobTypeMap[jobType] || '';
}

export const jobSalaryRangeMap = {
  1: '3000~5000',
  2: '5001~10000',
  3: '10001~20000',
  4: '20001~30000',
  5: '30000以上'
};
export function getJobSalaryRangeText(salaryRange) {
  return jobSalaryRangeMap[salaryRange] || '';
}

export const jobDescriptionStatusMap = {
  10: '开放',
  20: '关闭'
};
export function getJobDescriptionStatusText(status) {
  return jobDescriptionStatusMap[status] || '';
}

export const genderMap = {
  1: '男',
  2: '女'
};
export function getGenderText(gender) {
  return genderMap[gender] || '';
}

export const degreeMap = {
  10: '初中',
  20: '高中',
  30: '本科',
  40: '硕士研究生',
  50: '博士研究生'
};
export function getDegreeText(degree) {
  return degreeMap[degree] || '';
}

export const jobApplicationStatusMap = {
  10: '申请',
  20: '面试邀约',
  30: '录用',
  90: '拒绝'
};
export function getJobApplicationStatusText(status) {
  return jobApplicationStatusMap[status] || '';
}

export const employeeContractTypeMap = {
  10: '全职',
  20: '兼职',
  30: '实习'
};
export function getEmployeeContractTypeText(contractType) {
  return employeeContractTypeMap[contractType] || '';
}

export const employeeContractStateMap = {
  10: '有效',
  20: '终止',
  30: '续签'
};
export function getEmployeeContractStateText(state) {
  return employeeContractStateMap[state] || '';
}

